home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / utils / virusworkshop / arexx / lhafile.rexx < prev    next >
OS/2 REXX Batch file  |  1997-07-06  |  700b  |  27 lines

  1.  
  2. /* Arexxtestscript for the viruskiller VirusWorkshop from Markus Schmall */
  3. /* Version 1.0 (5.6.1995)                                                */
  4.  
  5. OPTIONS RESULTS                             /* enable return codes     */
  6.  
  7. address 'VWPort'
  8.  
  9.  
  10. OPTIONS FAILAT 999                          /* ignore warnings         */
  11.  
  12. /* ------------------------ inSERT YOUR CODE HERE: ------------------- */
  13.  
  14. say "Checking a LHA/LZX archive..."
  15. "LFILE ram:test.lha"
  16. say "Checking finished..."
  17. IF rc=15 THEN say "Error while LHA operations..."
  18. IF rc=0 THEN say "No virus found..."
  19. IF rc=1 THEN say "Virus found and deleted...."
  20.  
  21. /* ---------------------------- END OF YOUR CODE --------------------- */
  22.  
  23. EXIT
  24.  
  25.  
  26.  
  27.